//
//  StudentSelectionViewController.h
//  iOsiris
//
//  Created by bram on 1/11/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Account.h"

#define kYearComponent 0
#define kPeriodComponent 1

@interface StudentSelectionViewController : UIViewController <UIPickerViewDelegate, UIPickerViewDataSource>
{
	IBOutlet UIPickerView *picker;
	IBOutlet UILabel *periodField;
	NSDictionary *yearPeriods;
	NSArray *years;
	NSArray *periods;	
	Account *user;
}
@property (nonatomic, retain) Account *user;
@property (nonatomic, retain) UILabel *periodField;

@property (retain, nonatomic) UIPickerView *picker;
@property (retain, nonatomic) NSDictionary *yearPeriods;
@property (retain, nonatomic) NSArray *years;
@property (retain, nonatomic) NSArray *periods;

- (void) setUserAccount:(id)userAccount;

- (IBAction)btnLogout:(id)sender;
- (IBAction)btnDetailsView:(id)sender;
- (IBAction)btnRegister:(id)sender;
- (IBAction)btnRegisterReport:(id)sender;

@end
